{style}{literal}

.ow_newsfeed_comments .form_auto_click textarea.invitation {
height: 20px;
} 

.ow_newsfeed_comments .ow_newsfeed_comment_input {
height: 50px;
}

.ow_newsfeed_comments {
}

{/literal}{/style}

<div id="{$cmpContext}">
	{if $displayType == 1 || $displayType == 3 || $displayType == 4}
    <div class="comments_list_cont">
		    {$commentList}
    </div>
	{/if}
	{if isset($form)}
    <div class="form_auto_click" style='text-align:center;'>
			{form name="comment-add-`$id`"}
        <div class="clearfix">
            <div class="ow_mini_ipc_picture">{decorator name='avatar_item' src=$currentUserInfo.src title=$currentUserInfo.title}</div>
            <div class="ow_mini_ipc_info">{input name='commentText' class="ow_smallmargin ow_newsfeed_comment_input"}</div>
        </div>
        <div class="ow_submit_auto_click">
          {if !empty($attachment)}<div id="attachment_preview_{$id}"></div>{/if}
          <div class="clearfix">
          <span style="float: right;padding: 4px 10px 4px 5px;" >{submit name='comment-submit'}</span>
          {if !empty($attachment)}<span style="float: right;" >{$attachment}</span>{/if}
          </div>
      </div>
			{/form}
    </div>
	{/if}
	{if $displayType == 2}
    <div class="comments_list_cont">
		    {$commentList}
    </div>
	{/if}
</div>
